{% extends "single.html" %}
{% block scripts %}
    <script type="application/javascript" src="{{ STATIC_URL }}js/category.js"></script>
{% endblock %}
{% block title %} home {% endblock %}
{% block navpath %}

  <div class="page-header">
    <h1><small>我的详细地址</small></h1>
  </div>
{% endblock %}
{% block main %}
  <div class="col-xs-12 col-sm-6 col-md-12">
    <p class="navbar-text navbar-right">
      <a href="{% url "contactkeeper-update" pk=contactkeeper.pk %}" type="button" class="btn btn-success">修改</a>
      <a href="{% url "contactkeeper-delete" pk=contactkeeper.pk %}" type="button" class="btn btn-info">删除</a>
    </p>
  </div>

  <div class="col-xs-12 col-sm-6 col-md-12">
    <div class="panel panel-default">
      <p class="text-muted bg-info">
         <strong>{{ contactkeeper.contact.country }} {{ contactkeeper.contact.province }} {{ contactkeeper.contact.city }} {{ contactkeeper.contact.district }} {{ contactkeeper.contact.street }}</strong>
      </p>
      <!-- Default panel contents -->
      <div class="panel-heading">Panel heading</div>
      <table class="table table-hover table-responsive">
        <tbody>
          <tr>
            <td>姓名</td>
            <td>{{ contactkeeper.contact.name }}</td>
          </tr>
          <tr>
            <td>国家</td>
            <td>{{ contactkeeper.contact.country }}</td>
          </tr>
          <tr>
            <td>省</td>
            <td>{{ contactkeeper.contact.province }}</td>
          </tr>
          <tr>
            <td>城市</td>
            <td>{{ contactkeeper.contact.city }}</td>
          </tr>
          <tr>
            <td>地区</td>
            <td>{{ contactkeeper.contact.district }}</td>
          </tr>
          <tr>
            <td>街道</td>
            <td>{{ contactkeeper.contact.street }}</td>
          </tr>
          <tr>
            <td>邮编</td>
            <td>{{ contactkeeper.contact.postcode }}</td>
          </tr>
          <tr>
            <td>手机号</td>
            <td>{{ contactkeeper.contact.phone }}</td>
          </tr>
          <tr>
            <td>电子邮件</td>
            <td>{{ contactkeeper.contact.email }}</td>
          </tr>
        </tbody>
      </table>
     </div>
    </div>

{% endblock %}

{% block aside %}
aside
{% endblock %}